package com.equipmentRent.system.domain;

import java.math.BigDecimal;
import lombok.Data;
import com.equipmentRent.common.annotation.Excel;
import com.equipmentRent.common.core.domain.BaseEntity;

/**
 * 租赁物品主对象 item
 * 
 * @author zxl
 * @date 2025-05-17
 */
@Data
public class Item extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 品类ID（逻辑关联category.id） */
    @Excel(name = "品类ID", readConverterExp = "逻=辑关联category.id")
    private Long categoryId;

    /** 物品名称（如：索尼A7M3机身） */
    @Excel(name = "物品名称", readConverterExp = "如=：索尼A7M3机身")
    private String name;

    /** 规格参数 */
    @Excel(name = "规格参数")
    private String specs;

    /** 日租金 */
    @Excel(name = "日租金")
    private BigDecimal dailyRate;

    /** 押金金额 */
    @Excel(name = "押金金额")
    private BigDecimal deposit;

    /** 总库存量 */
    @Excel(name = "总库存量")
    private Long totalStock;

    /** 可用库存 */
    @Excel(name = "可用库存")
    private Long availableStock;

    /** 维护状态（0正常 1检修中） */
    @Excel(name = "维护状态", readConverterExp = "0=正常,1=检修中")
    private Integer maintenanceStatus;

    /** 删除标记 */
    private Long isDelete;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSpecs(String specs) 
    {
        this.specs = specs;
    }

    public String getSpecs() 
    {
        return specs;
    }

    public void setDailyRate(BigDecimal dailyRate) 
    {
        this.dailyRate = dailyRate;
    }

    public BigDecimal getDailyRate() 
    {
        return dailyRate;
    }

    public void setDeposit(BigDecimal deposit) 
    {
        this.deposit = deposit;
    }

    public BigDecimal getDeposit() 
    {
        return deposit;
    }

    public void setTotalStock(Long totalStock) 
    {
        this.totalStock = totalStock;
    }

    public Long getTotalStock() 
    {
        return totalStock;
    }

    public void setAvailableStock(Long availableStock) 
    {
        this.availableStock = availableStock;
    }

    public Long getAvailableStock() 
    {
        return availableStock;
    }

    public void setMaintenanceStatus(Integer maintenanceStatus) 
    {
        this.maintenanceStatus = maintenanceStatus;
    }

    public Integer getMaintenanceStatus() 
    {
        return maintenanceStatus;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }


}
